<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>train.py File Reference</title>
<title>CMSIS-DSP: train.py File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="printComponentTabs.js"></script>
<script type="text/javascript" src="cmsis_footer.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 46px;">
  <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">CMSIS-DSP
   &#160;<span id="projectnumber">Version 1.10.0</span>
   </div>
   <div id="projectbrief">CMSIS DSP Software Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
    <ul class="tablist">
      <script type="text/javascript">
		<!--
		writeComponentTabs.call(this);
		//-->
      </script>
	  </ul>
</div>
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
      <li><a href="modules.html"><span>Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('arm__svm__example_2train_8py.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">arm_svm_example/train.py File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacetrain"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html">train</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a7a74e6f2f6355f34b63513f77c839a9e"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a7a74e6f2f6355f34b63513f77c839a9e">x</a></td></tr>
<tr class="separator:a7a74e6f2f6355f34b63513f77c839a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8ef1bf8a70cc07c6d55823c390a7e76"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#ab8ef1bf8a70cc07c6d55823c390a7e76">angle</a></td></tr>
<tr class="separator:ab8ef1bf8a70cc07c6d55823c390a7e76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5050a760c11da521cd4aee6336f6529f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a5050a760c11da521cd4aee6336f6529f">radius</a></td></tr>
<tr class="separator:a5050a760c11da521cd4aee6336f6529f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61a67e5f327713096a497dd257b35687"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a61a67e5f327713096a497dd257b35687">xa</a></td></tr>
<tr class="separator:a61a67e5f327713096a497dd257b35687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd7b7b9da1c82632177de2b6dac1b3e"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a1dd7b7b9da1c82632177de2b6dac1b3e">clf</a></td></tr>
<tr class="separator:a1dd7b7b9da1c82632177de2b6dac1b3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab93db430d74f5d529799f9dae465e7d3"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#ab93db430d74f5d529799f9dae465e7d3">test1</a></td></tr>
<tr class="separator:ab93db430d74f5d529799f9dae465e7d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a379f3870fe6b574da8bba69555021fca"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a379f3870fe6b574da8bba69555021fca">predicted1</a></td></tr>
<tr class="separator:a379f3870fe6b574da8bba69555021fca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85ad095b05ea3563950747d52c96b183"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a85ad095b05ea3563950747d52c96b183">test2</a></td></tr>
<tr class="separator:a85ad095b05ea3563950747d52c96b183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a973293f40018f115721a7c050bc6986a"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a973293f40018f115721a7c050bc6986a">predicted2</a></td></tr>
<tr class="separator:a973293f40018f115721a7c050bc6986a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f033b26a7e1ccc323831d5b73553830"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a5f033b26a7e1ccc323831d5b73553830">supportShape</a></td></tr>
<tr class="separator:a5f033b26a7e1ccc323831d5b73553830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a126546c6d720ccc92549b1bce12229c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Source_2CMakeLists_8txt.html#a831b7fa3ecb78efc7660397695c2a386">list</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a126546c6d720ccc92549b1bce12229c4">nbSupportVectors</a></td></tr>
<tr class="separator:a126546c6d720ccc92549b1bce12229c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0613d7d5d0358b735ef2dc07db90968c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Source_2CMakeLists_8txt.html#a831b7fa3ecb78efc7660397695c2a386">list</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a0613d7d5d0358b735ef2dc07db90968c">vectorDimensions</a></td></tr>
<tr class="separator:a0613d7d5d0358b735ef2dc07db90968c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2662ec5f80aba5db238d19811b8a97b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#ac2662ec5f80aba5db238d19811b8a97b">dualCoefs</a></td></tr>
<tr class="separator:ac2662ec5f80aba5db238d19811b8a97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56aa84f3a6a82474bcf6658065e27ce1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a56aa84f3a6a82474bcf6658065e27ce1">supportVectors</a></td></tr>
<tr class="separator:a56aa84f3a6a82474bcf6658065e27ce1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d8de51dbd2a144b4adb4dc15f614ade"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a7d8de51dbd2a144b4adb4dc15f614ade">Z</a></td></tr>
<tr class="separator:a7d8de51dbd2a144b4adb4dc15f614ade"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43313180151b237601c022d3817890bb"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a43313180151b237601c022d3817890bb">levels</a></td></tr>
<tr class="separator:a43313180151b237601c022d3817890bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae73b7dd26319b1fdc3fa21a35bd8a142"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Source_2CMakeLists_8txt.html#a831b7fa3ecb78efc7660397695c2a386">list</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#ae73b7dd26319b1fdc3fa21a35bd8a142">newcolors</a></td></tr>
<tr class="separator:ae73b7dd26319b1fdc3fa21a35bd8a142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a220e9a544e0b63a2dd0aad0208d1ae7b"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a220e9a544e0b63a2dd0aad0208d1ae7b">cmap</a></td></tr>
<tr class="separator:a220e9a544e0b63a2dd0aad0208d1ae7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a491821ad2dc45f6786c0dd96db3d69cc"><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a491821ad2dc45f6786c0dd96db3d69cc">norm</a></td></tr>
<tr class="separator:a491821ad2dc45f6786c0dd96db3d69cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83ad329af42b09ac7ac1cca414344bb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Source_2CMakeLists_8txt.html#a831b7fa3ecb78efc7660397695c2a386">list</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetrain.html#a83ad329af42b09ac7ac1cca414344bb3">linestyles</a></td></tr>
<tr class="separator:a83ad329af42b09ac7ac1cca414344bb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_650d82db24a6311fa7658fced19ae149.html">DSP</a></li><li class="navelem"><a class="el" href="dir_abd1d8a41d439a254a6d729f0d888b04.html">Examples</a></li><li class="navelem"><a class="el" href="dir_dd8be1de2cb2fdb097bade8f148f6c3f.html">ARM</a></li><li class="navelem"><a class="el" href="dir_d7517ffd820385c40d613aa5f9bf5b45.html">arm_svm_example</a></li><li class="navelem"><a class="el" href="arm__svm__example_2train_8py.html">train.py</a></li>
    <li class="footer">
      <script type="text/javascript">
        <!--
        writeFooter.call(this);
        //-->
      </script>    
    </li>
  </ul>
</div>
</body>
</html>
